package org.colafries.metadata.result;

import org.colafries.common.metadata.Column;
import lombok.Data;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @author colafries
 * @version v1.0
 * @ClassName JdbcSelectResult
 * @Description
 * @date Created in 2024/3/19
 **/
@Data
public class JdbcSelectResult {
    /**
     * 查询SQL
     */
    private String querySql;
    /**
     * 查询结果列
     */
    private List<Column> columns;
    /**
     * 查询结果
     */
    private List<LinkedHashMap<String, Object>> rowData;
    /**
     * 总数
     */
    private Integer total;
    /**
     *
     */
    private Integer page;
    /**
     *
     */
    private Integer size;
    /**
     * SQL执行时间(ms)
     */
    private double execTime;
}
